class Animal:
    def eat(self):
        print("吃东西")

class Dog(Animal):
    def run(self):
        print("跑起来")

class Bird(Animal):
    def fly(self):
        print("飞起来")

a01 = Animal()
d01 = Dog()
b01 = Bird()

print(issubclass(Animal,Dog))

print(isinstance(a01,Dog))

print(type(b01) == Animal)

